<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/doc/src/examples.qdoc -->
<head>
  <title>Qt 4.3: Qt Examples</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">Qt Examples<br /><small></small></h1>
<p>This is the list of examples in Qt's <tt>examples</tt> directory. The examples demonstrate Qt features in small, self-contained programs. They are not all designed to be impressive when you run them, but their source code is carefully written to show good Qt programming practices. You can launch any of these programs from the <a href="qtdemo.html">Examples and Demos Launcher</a> application.</p>
<p>If you are new to Qt, you should probably start by going through the <a href="tutorial.html">Tutorial</a> before you have a look at the <a href="mainwindows-application.html">Application</a> example.</p>
<p>In addition to the examples and the tutorial, Qt includes a <a href="demos.html">selection of demos</a> that deliberately show off Qt's features. You might want to look at these as well.</p>
<p>One more valuable source for examples and explanations of Qt features is the archive of the <a href="http://doc.trolltech.com/qq">Qt Quarterly</a>.</p>
<p>In the list below, examples marked with an asterisk (*) are fully documented. Eventually, all the examples will be fully documented, but sometimes we include an example before we have time to write about it, because someone might need it right now.</p>
<p>Categories:</p>
<ul><li><a href="#activeqt">ActiveQt</a></li>
<li><a href="#desktop">Desktop</a></li>
<li><a href="#dialogs">Dialogs</a></li>
<li><a href="#drag-and-drop">Drag and Drop</a></li>
<li><a href="#graphics-view">Graphics View</a></li>
<li><a href="#item-views">Item Views</a></li>
<li><a href="#layouts">Layouts</a></li>
<li><a href="#main-windows">Main Windows</a></li>
<li><a href="#network">Network</a></li>
<li><a href="#opengl">OpenGL</a></li>
<li><a href="#painting">Painting</a></li>
<li><a href="#qt-assistant">Qt Assistant</a></li>
<li><a href="#qt-designer">Qt Designer</a></li>
<li><a href="#qt-linguist">Qt Linguist</a></li>
<li><a href="#qtopia-core">Qtopia Core</a></li>
<li><a href="#qt-script">Qt Script</a></li>
<li><a href="#rich-text">Rich Text</a></li>
<li><a href="#sql">SQL</a></li>
<li><a href="#threads">Threads</a></li>
<li><a href="#tools">Tools</a></li>
<li><a href="#uitools">UiTools</a></li>
<li><a href="#widgets">Widgets</a></li>
<li><a href="#xml">XML</a></li>
</ul>
<a name="activeqt"></a>
<h2>ActiveQt</h2>
<ul>
<li><a href="activeqt-comapp.html">COM App</a><sup>*</sup></li>
<li><a href="activeqt-dotnet.html">Dot Net</a><sup>*</sup></li>
<li><a href="activeqt-hierarchy.html">Hierarchy</a><sup>*</sup></li>
<li><a href="activeqt-menus.html">Menus</a><sup>*</sup></li>
<li><a href="activeqt-multiple.html">Multiple</a><sup>*</sup></li>
<li><a href="activeqt-opengl.html">OpenGL</a><sup>*</sup></li>
<li><a href="activeqt-qutlook.html">Qutlook</a><sup>*</sup></li>
<li><a href="activeqt-simple.html">Simple</a><sup>*</sup></li>
<li><a href="activeqt-webbrowser.html">Web Browser</a><sup>*</sup></li>
<li><a href="activeqt-wrapper.html">Wrapper</a><sup>*</sup></li>
</ul>
<a name="desktop"></a>
<h2>Desktop</h2>
<ul>
<li><a href="desktop-screenshot.html">Screenshot</a><sup>*</sup></li>
<li><a href="desktop-systray.html">System Tray</a><sup>*</sup></li>
</ul>
<a name="dialogs"></a>
<h2>Dialogs</h2>
<ul>
<li><a href="dialogs-classwizard.html">Class Wizard</a><sup>*</sup></li>
<li><a href="dialogs-configdialog.html">Config Dialog</a></li>
<li><a href="dialogs-extension.html">Extension</a><sup>*</sup></li>
<li><a href="dialogs-findfiles.html">Find Files</a><sup>*</sup></li>
<li><a href="dialogs-licensewizard.html">License Wizard</a><sup>*</sup></li>
<li><a href="dialogs-standarddialogs.html">Standard Dialogs</a></li>
<li><a href="dialogs-tabdialog.html">Tab Dialog</a><sup>*</sup></li>
<li><a href="dialogs-trivialwizard.html">Trivial Wizard</a></li>
</ul>
<a name="drag-and-drop"></a>
<h2>Drag and Drop</h2>
<ul>
<li><a href="draganddrop-draggableicons.html">Draggable Icons</a></li>
<li><a href="draganddrop-draggabletext.html">Draggable Text</a></li>
<li><a href="draganddrop-dropsite.html">Drop Site</a></li>
<li><a href="draganddrop-fridgemagnets.html">Fridge Magnets</a><sup>*</sup></li>
<li><a href="draganddrop-puzzle.html">Drag and Drop Puzzle</a></li>
</ul>
<a name="graphics-view"></a>
<h2>Graphics View</h2>
<ul>
<li><a href="graphicsview-collidingmice.html">Colliding Mice</a><sup>*</sup></li>
<li><a href="graphicsview-diagramscene.html">Diagram Scene</a><sup>*</sup></li>
<li><a href="graphicsview-dragdroprobot.html">Drag and Drop Robot</a></li>
<li><a href="graphicsview-elasticnodes.html">Elastic Nodes</a></li>
<li><a href="graphicsview-portedasteroids.html">Ported Asteroids</a></li>
<li><a href="graphicsview-portedcanvas.html">Ported Canvas</a></li>
</ul>
<a name="item-views"></a>
<h2>Item Views</h2>
<ul>
<li><a href="itemviews-basicsortfiltermodel.html">Basic Sort/Filter Model</a></li>
<li><a href="itemviews-chart.html">Chart</a></li>
<li><a href="itemviews-coloreditorfactory.html">Color Editor Factory</a><sup>*</sup></li>
<li><a href="itemviews-customsortfiltermodel.html">Custom Sort/Filter Model</a><sup>*</sup></li>
<li><a href="itemviews-editabletreemodel.html">Editable Tree Model</a><sup>*</sup></li>
<li><a href="itemviews-dirview.html">Dir View</a></li>
<li><a href="itemviews-pixelator.html">Pixelator</a><sup>*</sup></li>
<li><a href="itemviews-puzzle.html">Puzzle</a></li>
<li><a href="itemviews-simpledommodel.html">Simple DOM Model</a><sup>*</sup></li>
<li><a href="itemviews-simpletreemodel.html">Simple Tree Model</a><sup>*</sup></li>
<li><a href="itemviews-simplewidgetmapper.html">Simple Widget Mapper</a></li>
<li><a href="itemviews-spinboxdelegate.html">Spin Box Delegate</a><sup>*</sup></li>
<li><a href="itemviews-stardelegate.html">Star Delegate</a><sup>*</sup></li>
</ul>
<a name="layouts"></a>
<h2>Layouts</h2>
<ul>
<li><a href="layouts-basiclayouts.html">Basic Layouts</a><sup>*</sup></li>
<li><a href="layouts-borderlayout.html">Border Layout</a></li>
<li><a href="layouts-dynamiclayouts.html">Dynamic Layouts</a></li>
<li><a href="layouts-flowlayout.html">Flow Layout</a></li>
</ul>
<a name="main-windows"></a>
<h2>Main Windows</h2>
<ul>
<li><a href="mainwindows-application.html">Application</a><sup>*</sup></li>
<li><a href="mainwindows-dockwidgets.html">Dock Widgets</a><sup>*</sup></li>
<li><a href="mainwindows-mdi.html">MDI</a></li>
<li><a href="mainwindows-menus.html">Menus</a><sup>*</sup></li>
<li><a href="mainwindows-recentfiles.html">Recent Files</a></li>
<li><a href="mainwindows-sdi.html">SDI</a></li>
</ul>
<a name="network"></a>
<h2>Network</h2>
<ul>
<li><a href="network-blockingfortuneclient.html">Blocking Fortune Client</a><sup>*</sup></li>
<li><a href="network-broadcastreceiver.html">Broadcast Receiver</a></li>
<li><a href="network-broadcastsender.html">Broadcast Sender</a></li>
<li><a href="network-fortuneclient.html">Fortune Client</a><sup>*</sup></li>
<li><a href="network-fortuneserver.html">Fortune Server</a><sup>*</sup></li>
<li><a href="network-ftp.html">FTP</a></li>
<li><a href="network-http.html">HTTP</a></li>
<li><a href="network-loopback.html">Loopback</a></li>
<li><a href="network-threadedfortuneserver.html">Threaded Fortune Server</a><sup>*</sup></li>
<li><a href="network-torrent.html">Torrent</a></li>
</ul>
<a name="opengl"></a>
<h2>OpenGL</h2>
<ul>
<li><a href="opengl-2dpainting.html">2D Painting</a><sup>*</sup></li>
<li><a href="opengl-framebufferobject.html">Framebuffer Object</a></li>
<li><a href="opengl-framebufferobject2.html">Framebuffer Object 2</a></li>
<li><a href="opengl-grabber.html">Grabber</a></li>
<li><a href="opengl-hellogl.html">Hello GL</a><sup>*</sup></li>
<li><a href="opengl-overpainting.html">Overpainting</a><sup>*</sup></li>
<li><a href="opengl-pbuffers.html">Pixel Buffers</a></li>
<li><a href="opengl-pbuffers2.html">Pixel Buffers 2</a></li>
<li><a href="opengl-samplebuffers.html">Sample Buffers</a></li>
<li><a href="opengl-textures.html">Textures</a></li>
</ul>
<a name="painting"></a>
<h2>Painting</h2>
<ul>
<li><a href="painting-basicdrawing.html">Basic Drawing</a><sup>*</sup></li>
<li><a href="painting-concentriccircles.html">Concentric Circles</a><sup>*</sup></li>
<li><a href="painting-fontsampler.html">Font Sampler</a></li>
<li><a href="painting-imagecomposition.html">Image Composition</a><sup>*</sup></li>
<li><a href="painting-painterpaths.html">Painter Paths</a><sup>*</sup></li>
<li><a href="painting-svgviewer.html">SVG Viewer</a></li>
<li><a href="painting-transformations.html">Transformations</a><sup>*</sup></li>
</ul>
<a name="qt-assistant"></a>
<h2>Qt Assistant</h2>
<ul>
<li><a href="assistant-simpletextviewer.html">Simple Text Viewer</a><sup>*</sup></li>
</ul>
<a name="qt-designer"></a>
<h2>Qt Designer</h2>
<ul>
<li><a href="designer-calculatorbuilder.html">Calculator Builder</a><sup>*</sup></li>
<li><a href="designer-calculatorform.html">Calculator Form</a><sup>*</sup></li>
<li><a href="designer-customwidgetplugin.html">Custom Widget Plugin</a><sup>*</sup></li>
<li><a href="designer-taskmenuextension.html">Task Menu Extension</a><sup>*</sup></li>
<li><a href="designer-containerextension.html">Container Extension</a><sup>*</sup></li>
<li><a href="designer-worldtimeclockbuilder.html">World Time Clock Builder</a><sup>*</sup></li>
<li><a href="designer-worldtimeclockplugin.html">World Time Clock Plugin</a><sup>*</sup></li>
</ul>
<a name="qt-linguist"></a>
<h2>Qt Linguist</h2>
<ul>
<li><a href="linguist-hellotr.html">Hello tr()</a><sup>*</sup></li>
<li><a href="linguist-arrowpad.html">Arrow Pad</a><sup>*</sup></li>
<li><a href="linguist-trollprint.html">Troll Print</a><sup>*</sup></li>
</ul>
<a name="qtopia-core"></a>
<h2>Qtopia Core</h2>
<ul>
<li><a href="qtopiacore-mousecalibration.html">Mouse Calibration</a><sup>*</sup></li>
<li><a href="qtopiacore-svgalib.html">Accelerated Graphics Driver</a><sup>*</sup></li>
<li><a href="qtopiacore-ahigl.html">OpenGL for Embedded Systems</a><sup>*</sup></li>
</ul>
<a name="qt-script"></a>
<h2>Qt Script</h2>
<ul>
<li><a href="script-calculator.html">Calculator</a></li>
<li><a href="script-context2d.html">Context2D</a></li>
<li><a href="script-defaultprototypes.html">Default Prototypes</a></li>
<li><a href="script-helloscript.html">Hello Script</a></li>
<li><a href="script-tetrix.html">Tetrix</a></li>
</ul>
<a name="rich-text"></a>
<h2>Rich Text</h2>
<ul>
<li><a href="richtext-calendar.html">Calendar</a><sup>*</sup></li>
<li><a href="richtext-orderform.html">Order Form</a></li>
<li><a href="richtext-syntaxhighlighter.html">Syntax Highlighter</a><sup>*</sup></li>
</ul>
<a name="sql"></a>
<h2>SQL</h2>
<ul>
<li><a href="sql-cachedtable.html">Cached Table</a><sup>*</sup></li>
<li><a href="sql-drilldown.html">Drill Down</a><sup>*</sup></li>
<li><a href="sql-querymodel.html">Query Model</a></li>
<li><a href="sql-relationaltablemodel.html">Relational Table Model</a></li>
<li><a href="sql-tablemodel.html">Table Model</a></li>
</ul>
<a name="threads"></a>
<h2>Threads</h2>
<ul>
<li><a href="threads-mandelbrot.html">Mandelbrot</a><sup>*</sup></li>
<li><a href="threads-semaphores.html">Semaphores</a><sup>*</sup></li>
<li><a href="threads-waitconditions.html">Wait Conditions</a><sup>*</sup></li>
</ul>
<a name="tools"></a>
<h2>Tools</h2>
<ul>
<li><a href="tools-codecs.html">Codecs</a></li>
<li><a href="tools-completer.html">Completer</a><sup>*</sup></li>
<li><a href="tools-customcompleter.html">Custom Completer</a><sup>*</sup></li>
<li><a href="tools-echoplugin.html">Echo Plugin</a><sup>*</sup></li>
<li><a href="tools-i18n.html">I18N</a></li>
<li><a href="tools-plugandpaint.html">Plug &amp; Paint</a><sup>*</sup></li>
<li>Plug &amp; Paint Plugins: <a href="tools-plugandpaintplugins-basictools.html">Basic Tools</a><sup>*</sup> and <a href="tools-plugandpaintplugins-extrafilters.html">Extra Filters</a><sup>*</sup></li>
<li><a href="tools-regexp.html">RegExp</a></li>
<li><a href="tools-settingseditor.html">Settings Editor</a></li>
<li><a href="tools-styleplugin.html">Style Plugin</a><sup>*</sup></li>
<li><a href="tools-treemodelcompleter.html">Tree Model Completer</a><sup>*</sup></li>
<li><a href="tools-undoframework.html">Undo Framework</a><sup>*</sup></li>
</ul>
<a name="uitools"></a>
<h2>UiTools</h2>
<ul>
<li><a href="uitools-textfinder.html">Text Finder</a><sup>*</sup></li>
<li><a href="uitools-multipleinheritance.html">Multiple Inheritance</a><sup>*</sup></li>
</ul>
<a name="widgets"></a>
<h2>Widgets</h2>
<ul>
<li><a href="widgets-analogclock.html">Analog Clock</a><sup>*</sup></li>
<li><a href="widgets-calculator.html">Calculator</a><sup>*</sup></li>
<li><a href="widgets-calendarwidget.html">Calendar Widget</a><sup>*</sup></li>
<li><a href="widgets-charactermap.html">Character Map</a><sup>*</sup></li>
<li><a href="widgets-digitalclock.html">Digital Clock</a><sup>*</sup></li>
<li><a href="widgets-groupbox.html">Group Box</a><sup>*</sup></li>
<li><a href="widgets-icons.html">Icons</a><sup>*</sup></li>
<li><a href="widgets-imageviewer.html">Image Viewer</a><sup>*</sup></li>
<li><a href="widgets-lineedits.html">Line Edits</a><sup>*</sup></li>
<li><a href="widgets-movie.html">Movie</a></li>
<li><a href="widgets-scribble.html">Scribble</a><sup>*</sup></li>
<li><a href="widgets-shapedclock.html">Shaped Clock</a><sup>*</sup></li>
<li><a href="widgets-sliders.html">Sliders</a><sup>*</sup></li>
<li><a href="widgets-spinboxes.html">Spin Boxes</a><sup>*</sup></li>
<li><a href="widgets-styles.html">Styles</a><sup>*</sup></li>
<li><a href="widgets-stylesheet.html">Style Sheet</a><sup>*</sup></li>
<li><a href="widgets-tablet.html">Tablet</a><sup>*</sup></li>
<li><a href="widgets-tetrix.html">Tetrix</a><sup>*</sup></li>
<li><a href="widgets-tooltips.html">Tooltips</a><sup>*</sup></li>
<li><a href="widgets-wiggly.html">Wiggly</a><sup>*</sup></li>
<li><a href="widgets-windowflags.html">Window Flags</a><sup>*</sup></li>
</ul>
<a name="xml"></a>
<h2>XML</h2>
<ul>
<li><a href="xml-dombookmarks.html">DOM Bookmarks</a></li>
<li><a href="xml-saxbookmarks.html">SAX Bookmarks</a></li>
<li><a href="xml-streambookmarks.html">QXmlStream Bookmarks</a><sup>*</sup></li>
<li><a href="xml-rsslisting.html">RSS-Listing</a></li>
<li><a href="xml-xmlstreamlint.html">XML Stream Lint Example</a><sup>*</sup></li>
</ul>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.5</div></td>
</tr></table></div></address></body>
</html>
